#ifdef _MYDEBUG_
#include "log.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

void logger(char* p,...)	
{
	FILE* pf = fopen("./log.txt","a+");
	if(!pf)	return;
	va_list arg;
	va_start(arg, p);
	vfprintf(pf,p, arg);
	va_end(arg);
	fclose(pf);
}	
#endif
